Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug due to empty ImagePullSecret #138

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

kerneltime
Copy link
Contributor

Set ImagePullSecret only if not empty.

Ref: kubernetes/kubernetes#85332

Signed-off-by: Ritesh H Shukla kerneltime@gmail.com

Set ImagePullSecret only if not empty.

Ref: kubernetes/kubernetes#85332

Signed-off-by: Ritesh H Shukla <kerneltime@gmail.com>
@kerneltime kerneltime merged commit bd1d623 into minio:master Jun 4, 2020
@stefanhenseler
Copy link
Contributor

stefanhenseler commented Jun 5, 2020

@kerneltime Hey, cool to see this is already fixed, I've started working on this fix myself. The StatefulSet is not the only resource that has an image pull secret. So I think it would make sense to fix the rest as well. The affected areas are:

KES StatefulSet:
https://github.com/minio/minio-operator/blob/b5da0e28f28aa96cef577e667cdc4aa6a1d52a07/pkg/resources/statefulsets/kes-statefulset.go#L160

KES Job:
https://github.com/minio/minio-operator/blob/b5da0e28f28aa96cef577e667cdc4aa6a1d52a07/pkg/resources/jobs/kes-job.go#L72

Mirror Job:
https://github.com/minio/minio-operator/blob/b5da0e28f28aa96cef577e667cdc4aa6a1d52a07/pkg/resources/jobs/mirror-job.go#L53

This PR is already merged, Shall we create a new one for this?

@nitisht
Copy link
Contributor

nitisht commented Jun 5, 2020

Hi @stefanhenseler yes, feel free to send a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants